import request from '@/utils/request'

// 统一前缀
var prefix = '/recruitService'

// 获取简历
export function lookOneResume(id) {
  return request({
    url: `${prefix}/resume`,
    params: { id: id },
    method: 'GET',
  })
}

// 获取简历列表
export function lookResumeList(data) {
  return request({
    url: `${prefix}/resume/resume`,
    params: data,
    method: 'GET',
  })
}

// 修改简历提交状态
export function updateSubmitResume(data) {
  return request({
    url: `${prefix}/resume/updateSubmit`,
    data: data,
    method: 'PUT',
  })
}
